package com.xszx.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.xszx.bean.LoginUser;
import com.xszx.bean.UserVocate;
import com.xszx.bean.WorkTime;

@Mapper
public interface SuperDao {

	public List<LoginUser> selectAllLoginUser();
	public int delALoginUser(int id);
	public int editALoginUser(LoginUser user);
	public int addALoginUser(LoginUser user);
	public int addWorkTime(WorkTime workTime);
	public int updateWorkTime(WorkTime workTime);
	public WorkTime selectWorkTime();
	
	public int selectVacateCount();
	public List<UserVocate> selectSuperVacate(Map<String,Object> map);
	public int agreeVacate(UserVocate userVacate);
}
